#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int i;
    int x = 0;
    int y = 0;
    int count = 0;
    for(i=0;i<10;i++)
    {
        scanf("%d",& count);
        if (count > 0)
       
         x=x++;
        if (count < 0)
            y = y++;
    }
    printf("positive:%d\n", x);
    printf("negative:%d", y);
    return 0;
}
